package com.elitel.frame.main.dao;

import com.elitel.frame.main.entity.CfgSimInfo;
import com.elitel.frame.main.entity.CfgSimInfoDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.PropertyValues;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author mulis
 */
@Repository
public interface CfgSimInfoMapper {
    int deleteByPrimaryKey(String infoId);

    int insert(CfgSimInfo record);

    int insertSelective(CfgSimInfo record);

    CfgSimInfo selectByPrimaryKey(String infoId);

    int updateByPrimaryKeySelective(CfgSimInfo record);

    int updateByPrimaryKey(CfgSimInfo record);

    CfgSimInfoDTO selectByServiceId(String serviceId);

    List<CfgSimInfo> selectList(CfgSimInfo cfgSimInfo);

    List<CfgSimInfo> selectByGuids(@Param("serviceGuids") List<String> serviceGuids);
}
